﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace graphical_function_explorer.Forms
{
    public partial class NewCoordinateSystemForm : Form
    {
        public NewCoordinateSystemForm()
        {
            InitializeComponent();
            this.Visible = true;
        }

        private void button_Cancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button_Ok_Click(object sender, EventArgs e)
        {
            ItemProvider.horizAxisVar = Convert.ToChar(this.textBox_HorizAxis.Text);
            ItemProvider.vertAxisVar = Convert.ToChar(this.textBox_VertAxis.Text);

            this.Close();
        }
    }
}
